﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Macds.Core.Serialization;

namespace Macds.Test.Core.Serialization.Mocks
{
    [Serializable]
    public class CustomerModel
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }

        public static byte[] Data
        {
            get
            {
                // Create instance of the customer model class
                var customerModel = new Mocks.CustomerModel() { FirstName = "John", LastName = "Smith" };

                // serialize object to byte array
                return Converter.GetBytesFromObject(customerModel);
            }
        }
    }
}
